
from selenium import webdriver

import time


option = webdriver.ChromeOptions()
option.add_argument("headless")
browser = webdriver.Chrome(chrome_options=option)

try:
    browser.get("http://www.kugou.com/song/#hash=CC91E0A5046A116F11E41571C76E099B&album_id=579779")
    
    
    time.sleep(2)
    myAudio = browser.find_element_by_id('myAudio')
    print(myAudio.get_attribute('src'))
finally:
    browser.close()

print("-----------------------------------")

